package itcz.example.pattern.create_action.factory.factory_method;

/**
 * @ClassName: Coffee
 * @Author: ITCZ
 * @Date: 2025-04-26
 * @Description: 咖啡类
 */
public abstract class Coffee {
    public abstract String getName();

    public void addSugar() {
        System.out.println("加糖");
    }

    public void addMilk() {
        System.out.println("加牛奶");
    }
}
